package com.cjm.one.webmanager.service.goods;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cjm.one.model.goods.entity.GoodsCategory;
import com.cjm.one.model.goods.vo.GoodsCategoryVo;

import java.util.List;

public interface GoodsCategoryService {
    List<GoodsCategoryVo> list(String searchKey);

    GoodsCategoryVo getByIdVo(Long id);

    Boolean updateById(GoodsCategory goodsCategory);

    Boolean save(GoodsCategory goodsCategory);

    Boolean removeById(Long id);

    List<GoodsCategory> listByParentId(Long parentId);
}
